cmake_minimum_required (VERSION 3.20)
project (cmake_exp)
add_executable(cmake_exp cmake_exp.cxx)

target_compile_definitions(cmake_exp PUBLIC "$<$<BOOL:TRUE>:TEST=123>")